package cn.edu.tjnu.orm;

import java.util.Date;

public class UsersBean {
	private Integer userId;
	private String userLogName;
	private String userPsw;
	private String userRealName;
	private int userAge;
	// 查询传餐使用，不需要添加数据信息，故此不需要配置.hbm.xml文件
	private int userAge2;
	private String userSex;
	private String userIDCard;
	private Date userBirthday;
	// 查询传餐使用，不需要添加数据信息，故此不需要配置.hbm.xml文件
	private Date userBirthday2;
	private String userAddress;
	private String userTel;
	private String userRoleName;
	/*
	 * //使用数据的默认值，不需要走hibernate流程进行添加 private Date userCreateTime;
	 */
	private int isDeleted = 0; // 默认值为0.0-未删除；1-已删除

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserLogName() {
		return userLogName;
	}

	public void setUserLogName(String userLogName) {
		this.userLogName = userLogName;
	}

	public String getUserPsw() {
		return userPsw;
	}

	public void setUserPsw(String userPsw) {
		this.userPsw = userPsw;
	}

	public String getUserRealName() {
		return userRealName;
	}

	public void setUserRealName(String userRealName) {
		this.userRealName = userRealName;
	}

	public int getUserAge() {
		return userAge;
	}

	public void setUserAge(int userAge) {
		this.userAge = userAge;
	}

	public String getUserSex() {
		return userSex;
	}

	public void setUserSex(String userSex) {
		this.userSex = userSex;
	}

	public String getUserIDCard() {
		return userIDCard;
	}

	public void setUserIDCard(String userIDCard) {
		this.userIDCard = userIDCard;
	}

	public Date getUserBirthday() {
		return userBirthday;
	}

	public void setUserBirthday(Date userBirthday) {
		this.userBirthday = userBirthday;
	}

	public String getUserAddress() {
		return userAddress;
	}

	public void setUserAddress(String userAddress) {
		this.userAddress = userAddress;
	}

	public String getUserTel() {
		return userTel;
	}

	public void setUserTel(String userTel) {
		this.userTel = userTel;
	}

	public String getUserRoleName() {
		return userRoleName;
	}

	public void setUserRoleName(String userRoleName) {
		this.userRoleName = userRoleName;
	}

	public int getUserAge2() {
		return userAge2;
	}

	public void setUserAge2(int userAge2) {
		this.userAge2 = userAge2;
	}

	public Date getUserBirthday2() {
		return userBirthday2;
	}

	public void setUserBirthday2(Date userBirthday2) {
		this.userBirthday2 = userBirthday2;
	}

	public int getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(int isDeleted) {
		this.isDeleted = isDeleted;
	}

}
